package com.bigShen.pattern.prototype.shallowClone;

import com.bigShen.pattern.prototype.JinGuBang;

/**
 * 浅克隆
 * Created by lei.shen on 2018/9/23.
 */
public class ShllowQiTianDaSheng implements Cloneable{

    private String type;

    private String name;

    private JinGuBang jinGuBang;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public JinGuBang getJinGuBang() {
        return jinGuBang;
    }

    public void setJinGuBang(JinGuBang jinGuBang) {
        this.jinGuBang = jinGuBang;
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }

}
